<script type="text/javascript" src="/res/back/frame/js/topmenu.js"></script>

<nav class="topwrap" style="overflow: hidden; height: 100%;">
	<div class="navbar-header">
		<img alt="安装通" src="/res/common/images/logo.png" style="width:150px;margin-top: 5px;" >
	</div>

	<div class="collapse navbar-collapse">
		<ul id="func_list" class="nav navbar-nav top-menu">
			[@frame_list pid=0 ] 
			[#list functions as func ]
			<li [#if func_index==0 ]
					class="active"
				 [/#if]
					><a href="/frame/left.do?funcid=${func.id}" onclick="return changeLeft(this);"   >${func.name}</a></li>
			[/#list]
			[/@frame_list]
		</ul>
		<ul class="nav navbar-nav navbar-right">
			<li>
				<div id="changepasw" class="input-group" style="width: 100px; margin-top: 12px; display: none;">
					<input type="password" name="password" placeholder="更改密码" id="passw" class="form-control" style="width: 150px; height: 24px;"> <span class="input-group-btn">
						<button class="btn btn-default btn-xs" onclick="sub();" type="button" title="更改密码">
							<span class=" glyphicon glyphicon-lock"></span>
						</button>
					</span>
				</div>
			</li>
			<li><a href="javascript:void(0);" title="更改密码" onclick="tooglepass();"> <span class=" glyphicon glyphicon-user"></span>${admin.name}
			</a></li>
			
			<li>
				<a href="javascript:void(0);" title="当前在线" onclick="online();"> <span class=" glyphicon glyphicon-signal"></span></a>
			</li>
			
			<li>
				<a href="/admin/logout.do" target="_top" id="logout" title="退出" onclick="return confirm('是否退出登录？');"> <span class=" glyphicon glyphicon-off"></span></a>
			</li>
		

			<li id="_notify" style="display: none;">
				<a href="javascript:void(0);" onclick="notifybut();"> <span id="countDiv" class="badge pull-right"></span> <span class="glyphicon glyphicon-bell"></span></a>
			</li>

			<li><a id="view_index" href="http://www.azt365.com" title="首页" target="_blank"> <span class=" glyphicon glyphicon-home"></span>
			</a></li>
			<li style="height: 100%; background: none;"><a> <span> </span>
			</a></li>
		</ul>
	</div>
</nav>
